/* Copyright (c) 2016-2020 Enfry Ltd. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of Enfry. 
 * You shall not disclose such Confidential Information
 * and shall use it only in accordance with the terms of the agreements
 * you entered into with Enfry.
 */
package com.enfry.common.util.control;

/**
 * 
 * <请简单说明此类用途>
 * 
 * @Title com.enfry.util.control.Eventee
 * @author Penghu
 * @date 2018年1月10日
 */
public interface Filter {
	/**
	 * 设置匹配参数
	 * 
	 * @param param 匹配时的参数
	 */
	public Filter param(Object param);

	/**
	 * 访问时匹配，=true表示通过，=false表示过滤
	 * 
	 * @param obj 要匹配的对象
	 * @return =true表示通过，=false表示过滤
	 */
	public boolean access(Object match);
}
